Fedora 24
Sponsored Link

Chrony : Configure NTP Server
2016/06/22
 
Install Chrony and Configure NTP server for time adjustment.
[1] Install Chrony.
[root@dlp ~]#
dnf -y install chrony
[root@dlp ~]#
vi /etc/chrony.conf
# line 3: change servers for synchronization (replace to your timezone's one)

#
pool 2.fedora.pool.ntp.org iburst
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst
server ntp3.jst.mfeed.ad.jp iburst
# line 19: add the network range you allow to receive requests

allow 10.0.0.0/24
[root@dlp ~]#
systemctl start chronyd

[root@dlp ~]#
systemctl enable chronyd

[2] If Firewalld is running, allow NTP service. NTP uses 123/UDP.
[root@dlp ~]#
firewall-cmd --add-service=ntp --permanent

success
[root@dlp ~]#
firewall-cmd --reload

success
[3] Verify it works normally like follows.
[root@dlp ~]#
chronyc sources

210 Number of sources = 3
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ ntp1.jst.mfeed.ad.jp          2   6    37    20   +561us[ +530us] +/-   98ms
^* ntp2.jst.mfeed.ad.jp          2   6    37    20    -91us[ -122us] +/-   80ms
^+ ntp3.jst.mfeed.ad.jp          2   6    37    21   -567us[ -598us] +/-  127ms
 
Tweet